package com.briup.cms.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "文章对象")
public class Article {
    @ApiModelProperty(value = "文章Id", name = "id")
    private Long id;
    @ApiModelProperty(value = "文章标题", name = "title")
    private String title;
    @ApiModelProperty(value = "文章内容", name = "content")
    private String content;
    @ApiModelProperty(value = "文章发布日期", name = "publishDate")
    private Long publishDate;
    @ApiModelProperty(value = "文章阅读次数", name = "readTimes")
    private Long readTimes;
    @ApiModelProperty(value = "文章点赞次数", name = "thumbUpTimes")
    private Long thumbUpTimes;
    @ApiModelProperty(value = "文章被踩次数", name = "thumbDownTimes")
    private Long thumbDownTimes;
    @ApiModelProperty(value = "文章状态（未审核/审核中/已审核）", name = "status")
    private String status;
    @ApiModelProperty(value = "文章所属栏目Id", name = "categoryId")
    private Long categoryId;
    @ApiModelProperty(value = "文章发布者Id", name = "userId")
    private Long userId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Long publishDate) {
        this.publishDate = publishDate;
    }

    public Long getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Long readTimes) {
        this.readTimes = readTimes;
    }

    public Long getThumbUpTimes() {
        return thumbUpTimes;
    }

    public void setThumbUpTimes(Long thumbUpTimes) {
        this.thumbUpTimes = thumbUpTimes;
    }

    public Long getThumbDownTimes() {
        return thumbDownTimes;
    }

    public void setThumbDownTimes(Long thumbDownTimes) {
        this.thumbDownTimes = thumbDownTimes;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
